package java05;
import java.util.Scanner;
public class Test10 {
    public static void main(String[] args){
        UserService u = new UserService();
        Scanner s = new Scanner(System.in);
        String str1 = s.next();
        String str2 = s.next();
        try {
            u.register(str1,str2);
        } catch (Exception e) {
            System.out.println(e.getMessage());
        }
    }
}
